<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PatientvisitViewDlg" widgetVar="PatientvisitViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewPatientvisitTitle}">

            <h:form id="PatientvisitViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{patientvisitController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_patientvisitPK_vid}"/>
                        <h:outputText value="#{patientvisitController.selected.patientvisitPK.vid}" title="#{myBundle.ViewPatientvisitTitle_patientvisitPK_vid}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_patientvisitPK_pid}"/>
                        <h:outputText value="#{patientvisitController.selected.patientvisitPK.pid}" title="#{myBundle.ViewPatientvisitTitle_patientvisitPK_pid}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_visitDateTime}"/>
                        <h:outputText value="#{patientvisitController.selected.visitDateTime}" title="#{myBundle.ViewPatientvisitTitle_visitDateTime}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_bloodPressureUpper}"/>
                        <h:outputText value="#{patientvisitController.selected.bloodPressureUpper}" title="#{myBundle.ViewPatientvisitTitle_bloodPressureUpper}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_bloodPressureLower}"/>
                        <h:outputText value="#{patientvisitController.selected.bloodPressureLower}" title="#{myBundle.ViewPatientvisitTitle_bloodPressureLower}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_temperature}"/>
                        <h:outputText value="#{patientvisitController.selected.temperature}" title="#{myBundle.ViewPatientvisitTitle_temperature}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_respiratoryRate}"/>
                        <h:outputText value="#{patientvisitController.selected.respiratoryRate}" title="#{myBundle.ViewPatientvisitTitle_respiratoryRate}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_pulse}"/>
                        <h:outputText value="#{patientvisitController.selected.pulse}" title="#{myBundle.ViewPatientvisitTitle_pulse}"/>

                        <h:outputText value="#{myBundle.ViewPatientvisitLabel_hid}"/>
                        <h:outputText value="#{patientvisitController.selected.hid.name}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PatientvisitViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
